package com.janwen.j2se.thread;

import org.apache.log4j.Logger;

public class ThreadBasic extends Thread {

	private static final Logger logger = Logger.getLogger(ThreadBasic.class);

	@Override
	public void run() {
		while (true) {
			logger.info("thread");
		}

	}

	public static void main(String[] args) {
		ThreadBasic threadBasic = new ThreadBasic();
		threadBasic.setName("thred-qp");
		threadBasic.start();
	}
}
